go/types.Named.inst (field)
38 uses
go/types (current package)
instantiate.go#L99: ctxts = append(ctxts, expanding.inst.ctxt)
named.go#L119: inst *instance
named.go#L186: if n.inst != nil {
named.go#L190: orig := n.inst.orig
named.go#L200: n.inst.ctxt = nil
named.go#L273: inst.ctxt = expanding.inst.ctxt
named.go#L275: typ := &Named{check: check, obj: obj, inst: inst}
named.go#L285: assert(t.inst == nil || t.inst.orig.inst == nil)
named.go#L308: if t.inst == nil {
named.go#L311: return t.inst.orig.obj
named.go#L317: if t.inst == nil {
named.go#L320: return t.inst.orig
named.go#L330: assert(t.inst == nil)
named.go#L336: if t.inst == nil {
named.go#L339: return t.inst.targs
named.go#L365: assert(t.inst != nil) // only instances should have incomplete methods
named.go#L366: orig := t.inst.orig
named.go#L377: assert(t.inst.ctxt != nil) // we should still have a context remaining from the resolution phase
named.go#L379: t.inst.expandedMethods++
named.go#L383: if t.inst.expandedMethods == len(orig.methods) {
named.go#L385: t.inst.ctxt = nil // no need for a context anymore
named.go#L397: origm := t.inst.orig.Method(i)
named.go#L424: if origSig.RecvTypeParams().Len() == t.inst.targs.Len() {
named.go#L425: smap := makeSubstMap(origSig.RecvTypeParams().list(), t.inst.targs.list())
named.go#L454: assert(t.inst == nil)
named.go#L472: assert(t.inst == nil)
named.go#L643: assert(n.inst.orig.underlying != nil)
named.go#L644: if n.inst.ctxt == nil {
named.go#L645: n.inst.ctxt = NewContext()
named.go#L648: orig := n.inst.orig
named.go#L649: targs := n.inst.targs
named.go#L664: h := n.inst.ctxt.instanceHash(orig, targs.list())
named.go#L665: n2 := n.inst.ctxt.update(h, orig, n.TypeArgs().list(), n)
predicates.go#L152: return named != nil && named.obj != nil && named.inst == nil && named.TypeParams().Len() > 0
typestring.go#L301: if t.inst != nil {
typestring.go#L303: w.typeList(t.inst.targs.list())
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)